
function loadListData(PageObj) {
  var that = PageObj;
  let listData = [];
  let page_T = 1;
  let indexId = (that.data.page+1)*5;
  let a = indexId-4;
  listData.push({ "viewId": a, "title": a + "-aaaaa", "competitor": a +"-competitor", "videoCoverImg": "../../img/list.jpg" });
  let b = indexId - 3;
  listData.push({ "viewId": b, "title": b+"-aaaaa", "competitor": b+"-competitor", "videoCoverImg": "../../img/list.jpg" });
  let c = indexId - 2;
  listData.push({ "viewId": c, "title": c+"-aaaaa", "competitor": c+"-competitor", "videoCoverImg": "../../img/list.jpg" });
  let d = indexId - 1;
  listData.push({ "viewId": d, "title": d+"-aaaaa", "competitor": d+"-competitor", "videoCoverImg": "../../img/list.jpg" });
  let e = indexId - 0;
  listData.push({ "viewId": e, "title": e+"-aaaaa", "competitor": e+"-competitor", "videoCoverImg": "../../img/list.jpg" });
  page_T = page_T + that.data.page;
  if(page_T > 10){
    return;
  }
  that.setData({
    array: that.data.array.concat(listData),
    page: page_T
  });
}

module.exports = {
  loadListData: loadListData
}